﻿<%@ Page ValidateRequest="false" Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content4" ContentPlaceHolderID="FileImportContent" runat="server">
    <script language="JavaScript" type="text/javascript" src="../../Scripts/scrutturaNote/elrte.min.js"></script> 
    <link rel="stylesheet" href="../../Content/elrte.min.css" type="text/css" media="screen" charset="utf-8"/>
    <script src="../../Scripts/scrutturaNote/i18n/elrte.it.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
      $().ready(function() {
          var opts = {
              lang         : 'it',   // set your language
              styleWithCSS : false,
              height       : 400,
              toolbar      : 'maxi'
          };
         // create editor
          $('#TextArea').elrte(opts);
     });
 </script>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Nuova Notizia
   
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    
    <h2>Nuova Notizia </h2>  <%--<%: Html.ActionLink("Indietro", "Navigation", "Navigation")%>--%>
    <form method="post" action="SaveNotice" >
        <input type=submit value="Salva"/>
        <h4>Scegli la categoria</h4>
        <%= Html.Hidden("id", -1) %>
        <%= Html.Hidden("nuova", true) %>
        <%= Html.DropDownList("ListCategorie")%>
        <br />
        <label for="Titolo">Titolo:</label>
        <%= Html.TextBox("Titolo")%>
        <br />
        <label for="TextArea">Testo:</label>
        <%= Html.TextArea("TextArea") %>
    </form>
    
</asp:Content>
